package com.guage.producter.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.guage.producter.domain.Student;
import com.pad.dpscn.daag.sdk.core.annotation.DataMapperIntercept;
@Mapper
@DataMapperIntercept(pk = {
		@DataMapperIntercept.PrimaryKeyField(propertyName = "id",columnName = "ID") }, tableName = "T_STUDENT", operation = {
				DataMapperIntercept.Operation.INSERT, DataMapperIntercept.Operation.UPDATE,
				DataMapperIntercept.Operation.DELETE })
public interface StudentMapper {
    int insert(Student student);
    int delete(Integer id);
    int update(Student student);
    List<Student> findAll();
    List<Student> findByPage(Student student);
    Student findById(Integer id);
}
